error with: SELECT p.ID pic_ID, p.title pic_title FROM pictures p LEFT JOIN artists a ON p.artist_ID = a.ID WHERE p.status='active' AND a.status='active' AND a.ID=539